Repository navigation
refactor(client): time 흐름 분리 - #70
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 28, 2026 12:56
f273061 to
17ec349
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 00:54
eb0e044 to
9967771
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 00:55
afa7dd4 to
b3334fc
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 01:05
9967771 to
fddfa48
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 01:05
b3334fc to
a73d44a
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 01:21
fddfa48 to
79f8294
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 01:23
a73d44a to
d1092ae
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:30
79f8294 to
75eea3b
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 02:31
4326c0c to
dd75361
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:35
75eea3b to
cab7886
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 02:38
dd75361 to
0c0f51b
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:46
cab7886 to
7b05733
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 03:42
31522a5 to
d9c37b4
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 03:44
c171bff to
0fb441e
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 03:45
0fb441e to
50b23e3
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 07:39
d9c37b4 to
5bc1eaf
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 07:40
50b23e3 to
1fbb60b
Compare
This was referenced Aug 29, 2026
tartelettie
marked this pull request as ready for review
August 29, 2026 08:23
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
3 times, most recently
from
August 29, 2026 08:49
1d1d290 to
5e02511
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 08:49
1fbb60b to
1b1a6ee
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 08:58
5e02511 to
6078d30
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
2 times, most recently
from
August 29, 2026 08:59
7e84c66 to
0e99736
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 09:23
6078d30 to
90100dd
Compare
tartelettie
force-pushed
the
refactor/time-flow
branch
from
August 29, 2026 09:23
0e99736 to
7dc4799
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 09:36
90100dd to
c4f74c7
Compare
Owner
|
todo에도 썼듯 domain 이거 하심 그냥 merge 해주세요 고생하셨습니다 |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이 PR을 어떻게 봐야 하나
이 PR들은 리뷰를 쉽게 하려고 기능 단위로 쌓아 둔 PR입니다.
지금 GitHub 화면에서 #66/#69/#70은
main으로 바로 merge되는 PR이 아닙니다. 선행 PR 브랜치를 base로 둬서 리뷰어가 "이번 PR에서 추가로 바뀐 부분"만 작게 볼 수 있게 해 둔 상태입니다.예를 들어 #66 화면에 이렇게 보이면 정상입니다.
이 상태에서 바로 merge하면
main이 아니라refactor/frontend-context-foundation으로 들어갑니다. 그래서 실제 main merge는 아래 순서로 합니다.즉 리뷰할 때는 지금처럼 stacked PR로 작게 보고, merge할 때만 다음 PR의 base를
main으로 바꿔서 순서대로 넣습니다.왜
time 관련 화면과 handler가 마지막까지
Screens.tsx/useAppData.ts에 남아 있었습니다. todo, routine, notes를 기능별 폴더로 분리한 뒤에도 time이 남으면Screens.tsx가 계속 거대한 통합 화면 파일로 남고, 리뷰 기준인 기능별 domain 구조도 일관되지 않습니다.이 PR은 time 범위만 분리해서 frontend 리팩토링 스택의 마지막 기능 영역을 정리합니다.
무엇을 했나
TimeScreen을client/src/time/components/로 분리했습니다.TimeScreen.styles.ts로 분리했습니다.useTimeTracking으로 정리했습니다.TimeScreen,SessionTracker,StudyPlanner는time묶음 객체 대신sessions,activeSession,timerMinutes,onStartSession,onRecordMomentNote같은 명시적 props를 받게 했습니다.useTimeTracking으로 이동했습니다.session.ts와 테스트를client/src/time/domain/으로 이동했습니다.Screens.tsx를 제거하고, 각 기능 화면은 자기 feature 폴더에서 import되도록 정리했습니다.어떻게 바뀌었나
Screens.tsx가 time 화면 UI, timer 상태, session 계산, planner handler까지 같이 들고 있었습니다.time/components/TimeScreen.tsx, time 상태/handler 조립은time/hooks/useTimeTracking, 순수 계산은time/domain/session.ts가 담당합니다.Actions나time같은 넓은 객체 prop은 사용하지 않습니다.유지한 내용
useAppData의 workspace data, cache, loading, request helper 소유권일부러 제외한 내용
AGENTS.md변경검증
cd client && npm test -- --runcd client && npm run typecheckcd client && npm run format:check